package com.vhuomai.product.service;

import com.vhuomai.product.entity.BaseProductCategory;

import java.util.List;

/**
 * @author harris
 */
public interface ProductCategoryService {
    
    List<BaseProductCategory> findByParentId(int parentId);
    
    BaseProductCategory add(BaseProductCategory category);
    
    void update(BaseProductCategory category);
    
    void remove(int id);
}
